package com.yueya.business.assess.model;

import java.util.Map;

import com.jfinal.kit.StrKit;
import com.jfinal.plugin.activerecord.Db;
import com.jfinal.plugin.activerecord.Model;
import com.jfinal.plugin.activerecord.Page;
import com.jfinal.plugin.activerecord.Record;
import com.yueya.common.util.DateUtil;
import com.yueya.common.util.UUIDGenerator;

import net.sf.json.JSONObject;

/**
 * 评估内容
 * @author todds
 *
 */
@SuppressWarnings("serial")
public class AssessContent extends Model<AssessContent> {
	
	public static  AssessContent dao = new AssessContent();
	
	public boolean save(AssessContent dao) {
		dao.set("create_time",DateUtil.getDate(DateUtil.timeFormat));
		return dao.save();
	}

	 
    public boolean update(AssessContent dao) {
    	dao.set("update_time",DateUtil.getDate(DateUtil.timeFormat));
		return dao.update();
	}
  
    
}
